package mysqlinit

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Account string `gorm:"type:varchar(18);not null"`

	Password string `gorm:"type:varchar(32);not null"`

	Portrait   string `gorm:"type:varchar(500);not null"`
	Background string `gorm:"type:varchar(500);not null"`
	Name       string `gorm:"type:varchar(30);not null"`
	Gender     string `gorm:"type:varchar(12);not null"`
	Personal   string `gorm:"type:varchar(255);not null"`
	Birthday   string `gorm:"type:varchar(60);not null"`
	Term       string `gorm:"type:varchar(100);not null"`
	Address    string `gorm:"type:varchar(150);not null"`
}
